/*
 * @Descripttion: js
 * @Version: 1.0
 * @Author: name
 * @Date: 2021-09-27 17:11:36
 * @LastEditors: name
 * @LastEditTime: 2021-09-28 08:57:48
 */

import {
  createRouter,
  createWebHistory
} from 'vue-router'


import Layout from '@/layout'

const router = createRouter({
  history: createWebHistory(),
  routes: [{
    path: '/',
    component: Layout,
    children: [{
      path: 'home',
      component: () => import('../views/home')
    }]

  }],
})

export default router